{template 'web/_header'}
{template 'web/allorder/realgoods_tabs'}
<div class="main">
	<form action="" method="post" class="form-horizontal form">
		<div class="panel panel-default">
			<div class="panel-heading">
				收货人信息
			</div>
			<div class="panel-body">
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">收货人姓名</label>
					<div class="col-sm-9">
						<input type="text" name="realname" class="form-control" value="{$shipping['name']}" />
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">收货人电话</label>
					<div class="col-sm-9">
						<input type="text" name="mobile" class="form-control" value="{$shipping['mobile']}" />
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">邮寄地址</label>
					<div class="col-sm-9">
						{php echo tpl_fans_form('reside', array('province' => $shipping['province'], 'city' => $shipping['city'], 'district' => $shipping['district']));}
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">收货人邮编</label>
					<div class="col-sm-9">
						<input type="text" name="zipcode" class="form-control" value="{$shipping['zipcode']}" />
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">收件地址</label>
					<div class="col-sm-9">
						<input type="text" name="address" class="form-control" value="{$shipping['address']}" />
					</div>
				</div>
                            	<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">快递公司</label>
					<div class="col-sm-9">
						<input type="text" name="express" class="form-control" value="{$shipping['express']}" />
					</div>
				</div>
                                <div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">快递单号</label>
					<div class="col-sm-9">
						<input type="text" name="expresssn" class="form-control" value="{$shipping['expresssn']}" />
					</div>
				</div>
                                <div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">兑换时间</label>
					<div class="col-sm-9">
						<input type="text" name="createtime" class="form-control" value="{$shipping['createtime']}" />
					</div>
				</div>
                                <div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">发货时间</label>
					<div class="col-sm-9">
						<input type="text" name="sendtime" class="form-control" value="{$shipping['sendtime']}" />
					</div>
				</div>
                                <div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">完成时间</label>
					<div class="col-sm-9">
						<input type="text" name="finishtime" class="form-control" value="{$shipping['finishtime']}" />
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">状态</label>
					<div class="col-sm-9">
						<label class="radio-inline"><input type="radio" value="0" {if $shipping['status'] == 0}checked{/if} name="status">待发货</label>
						<label class="radio-inline"><input type="radio" value="1" {if $shipping['status'] == 1}checked{/if} name="status">已发货</label>
						<label class="radio-inline"><input type="radio" value="2" {if $shipping['status'] == 2}checked{/if} name="status">已收货</label>
					</div>
				</div>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-12">
				<input name="id" type="hidden" value="{$id}">
				<input name="submit" type="submit" value="保存" class="btn btn-primary">
				<input type="hidden" name="token" value="{$_W['token']}" />
			</div>
		</div>
	</form>
</div>
{template 'web/_footer'}